﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace webapi.Model
{
    [Table("xyc_product_info")]
    public class ProductInfoModel
    {
        [Key]
        public String GUID { get; set; }

        [Required]
        public int PRODUCT_ID { get; set; }

        [Required]
        public String PRODUCT_NUM { get; set; }

        [Required]
        public String PRODUCT_NAME { get; set; }

        [Required]
        public String PRODUCT_PRICE { get; set; }

        [Required]
        public String PRODUCT_DETAIL { get; set; }

        [Required]
        public String PRODUCT_DESCRIPTION { get; set; }

        [Required]
        public String? PRODUCT_MEDIA1 { get; set; }

        [Required]
        public String? PRODUCT_MEDIA2 { get; set; }

        [Required]
        public String? PRODUCT_MEDIA3 { get; set; }

        [Required]
        public String? PRODUCT_MEDIA4 { get; set; }

        public DateTime? DELETE_DATE { get; set; }
    }
}
